@REM :: 生成基于facebook/swift的client端接口实现代码
@REM @ECHO OFF
@REM SETLOCAL
@REM SET sh_folder="%~dp0"
@REM PUSHD %sh_folder%
@REM SET OUT_FOLDER=src\test\java
@REM IF EXIST "%OUT_FOLDER%" RMDIR  %OUT_FOLDER% /s/q
@REM java -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=y ^
@REM 	-jar target\codegen-thrift-3.5.1-SNAPSHOT-standalone.jar ^
@REM 	-ic thrift.test.original.TestInterface ^
@REM 	-rc thrift.test.original.TestInterface$BaseImpl ^
@REM 	-p thrift.test.client ^
@REM 	-o %OUT_FOLDER% ^
@REM 	--thrift-package thrift.test.client.thrift ^
@REM 	-gt CLIENT ^
	
@REM POPD
@REM ENDLOCAL

:: 生成基于facebook/swift的client端接口实现代码
@ECHO OFF
SETLOCAL
SET sh_folder="%~dp0"
PUSHD "%sh_folder%"
CALL mvn com.gitee.l0km:codegen-thrift-maven-plugin:generate@gen-decorator-client
POPD
ENDLOCAL